package org.example.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import org.example.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.example.enums.BankFormTypeEnums;

/**
 * <p>
 * 表单信息
 * </p>
 *
 * @author puqingwen
 * @since 2024-03-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("bank_form_filed_infos")
public class BankFormFiledInfosEntity extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 银行id
     */
    private Long bankId;

    /**
     * 开户类型id
     */
    private Long openTypeId;

    /**
     * 字段
     */
    private String formFiled;

    /**
     * 字段名称
     */
    private String formFiledName;

    /**
     * 输入框的类型，string：字符输入框，number：数字输入框、decimal:小数输入框、city：城市输入、select：下拉框、datetime：时间输入框、date：日期输入框
     */
    private BankFormTypeEnums formType;

    /**
     * 分类
     */
    private String category;

    /**
     * 是否是公共
     */
    private Integer isBase;

    /**
     * 是否必须
     */
    private Integer isRequire;

    /**
     * 排序
     */
    private Integer sort;
}
